AdBlockGuard\Frontend C

Total Complexity 121
Dependencies 2
Dependents 0
Total lines 623
Lines of code 381
Logical lines of code 234
Comment lines 115
Methods 30
Properties 7

Methods 30

Method Rating Maintainability Complexity Lines of code
isCurrentPageTypeExcluded()
A
48 15 32
canRenderOnIgnoredUrls()
A
47 12 35
canRenderOnExcludedPosts()
A
50 11 27
isCurrentWooCommercePageTypeExcluded()
A
54 9 22
canRenderOnExcludedPages()
S
55 7 20
canRenderOnWooCommercePages()
S
57 7 17
isUserOverlayRenderable()
S
55 6 23
canRenderOnSpecialPages()
S
60 6 14
getUserGroupSettings()
S
62 6 11
getAllCarbonFieldSettingsFromCache()
S
58 4 17
runModeFrontend()
S
58 3 16
render_footer_content()
S
65 4 9
logBrowserConsole()
S
62 3 11
isUserOverlayEnabled()
S
64 3 9
getRole()
S
64 3 10
isEnabledGlobally()
S
68 3 7
renderAdBlock()
S
59 2 14
__construct()
S
61 2 13
getCurrentRelativePath()
S
71 2 5
isRegistrationPage()
S
78 2 3
get_instance()
S
71 2 6
runModeDemo()
S
61 1 12
getUserOverlaySettings()
S
80 1 3
is_checkbox_checked()
S
80 1 3
isPathMatchingPattern()
S
66 1 8
isDebug()
S
82 1 3
getSerializedOptionNames()
S
66 1 10
getAllTextOptions()
S
67 1 9
getAllOptionNames()
S
63 1 9
isLoginPage()
S
79 1 3